home *** CD-ROM | disk | FTP | other *** search
- |onc
- |lns 3,640,0
- |col 0,1
- * sMOVIE Manual *
- |col 1,0
- |ofc
- |tab 4
-
- This file lists sMOVIES commands in alphabetical order.
- If you have a printer, it's worth printing this one out.
-
- All sMOVIEs commands are prefixed with a special character.
- This character defaults to '|'. If you need to print '|'
- characters at the start of a line, you can use the ESC command.
-
- Any line that does not begin with the special character is
- treated as printable text, and will be scrolled onto the
- bottom of the display.
-
- After the special character comes the command which is always
- three letters long. The letters can be UPPER CASE, lower case,
- or AnY COmbINatiOn. After some commands you need to specify
- parameters. The first parameter should be seperated from the
- command by one or more spaces. Parameters should be seperated
- from each other by a comma, and/or spaces. After the last
- parameter a comment is optional. Comments should be preceded
- by a space or semi-colon.
-
- O.K. here they are...
-
-
- Command: CLR/CLS Function: Clears screen.
- Parameters: None.
-
- Clears the screen to the current background colour.
-
- Command: COL Function: Set current colours.
- Parameters: Pen colour,Background colour.
-
- Specifies the colour numbers to be used for text etc.
- Use the PLT command to assign a colour to a colour number.
-
- Command: COM Function: Comment.
- Parameters: None.
-
- Lets you add non-printing comments to your files.
-
- Command: DEP Function: Sets maximum number of colours.
- Parameters: Number of bitplanes to use.
-
- DEP lets you specify how many colours will be available on
- the screen at the same time. If you want four colours at
- once use 'dep 2', 'dep 3' gives you eight colours, and
- 'dep 4' the maximum sixteen colours. There is no point in
- placing multiple dep statements in your files - sMOVIE finds
- the highest value and uses that throughout. If you don't
- specify a dep statement anywhere in your file, then you only
- get two colours by default.
-
- Command: DFT Function: Sets screen to default size.
- Parameters: None.
-
- Gives you a default size PAL or NTSC screen. sMOVIE
- automatically performs this command at the start of any
- files that do not contain SIZ or SSZ statements.
-
- Command: DLY Function: Pauses scrolling of screen.
- Parameters: Number of ticks to delay.
-
- For example DLY 50 causes a delay of fifty ticks. A tick
- is either a fiftieth or a sixtieth of a second. I forget
- which.
-
- Command: ESC Function: Changes command prefix.
- Parameters: New command prefix.
-
- For example '|ESC +' changes the command prefix to '+'.
- You would have to use '+ESC |' to change it back again.
- It is good practice to always change the command prefix
- back to the default before the end of your file, and before
- using any FIL commands. If you don't, you will get problems
- if you later decide to call your file with a FIL command
- from another project.
-
- Command: FIL Function: Include a file.
- Parameters: Name of File to be included.
-
- This allows you to create 'subroutines' which you can then
- include in several different files. If the included file
- isn't in the same directory as the Includer, you will need
- a standard AmigaDos pathname. FIL commands can be nested to
- any reasonable level. Circular includes (e.g. File A
- includes File B which includes File A....) will naturally
- cause your Amiga to fall off the end of the World.
-
- Command: FNT Function: Changes to a different font
- Parameters: Font name and pointsize.
-
- For example 'FNT diamond 20' changes to the diamond font
- with a pointsize of 20 (pretty big). Note that if you
- specify a font then ALL the pointsizes for that font get
- loaded into memory (don't ask me why), and having a lot of
- fonts open at the same time can use a fair bit of memory.
-
- Command: IND Function: Indents text (Left margin).
- Parameters: Number of pixels to indent.
-
- This command is overridden by ONC. Default indent is zero.
- Use 'IND 0' to switch indenting off.
-
- Command: LNS Function: Draws horizontal lines.
- Parameters: Number, length, start posn.
-
- Draws <Number> horizontal lines in the current pen colour,
- scrolling them onto the bottom of the display. The length
- of the line, and the X position of the left hand end are
- specified in pixels. This command allows you to create
- (very) simple graphics.
-
- Command: OFC Function: Turns off automatic centring.
- Parameters: None.
-
- This disables automatic centring of text. This is the
- default setting, so this command will only ever be used
- with....
-
- Command: ONC Function: Turns on automatic centring.
- Parameters: None.
-
- This causes the centring of all following text up to the
- next OFC command.
-
- Command: PLT Function: Specifies pallette for a colour.
- Parameters: Colour Number, Red, Green, Blue.
-
- Lets you assign one of 4096 colours to a colour Number.
- Red, Green and Blue must be numbers in the range 0 to 15.
- If you have not used DEP in your file then Number should be
- 0 or 1. If you have specified DEP 4, then Number can be 0,
- 1,2,.... 14,15. Note that the border around the screen is
- always colour 0 (but you can use it on the screen as well).
-
- Command: RST Function: Restart from beginning of file.
- Parameters: None.
-
- If you put a RST at the end of your file then sMOVIE will
- keep running around it until you hit the mouse. This lets
- you use sMOVIE to display adverts in a shop window or
- whatever.
-
- Command: SIZ Function: Set screen sizes.
- Parameters: Mode,Width,Height,X,Y,Q.
-
- Mode must be the word HIRES or LORES (Lower case is valid).
- Width and height are what you would expect. X and Y specify
- the position of the top left hand corner of the 'display
- window'. Q specifies how much of the left hand part of the
- page is NOT displayed. All figures are in pixels. If you
- don't know the sizes of Amiga screens, they are roughly
- 640 pixels wide (or 320 in LORES) by 256 pixels down (only
- 200 if you have an NTSC machine).
-
- Command: SPC Function: Controls vertical spacing.
- Parameters: Number of pixels between text.
-
- SPC specifies the number of blank lines (pixels) between
- each row of text. The default value is 2. You can use any
- number from 0 up to stupid values.
-
- Command: SPD Function: Controls scrolling speed.
- Parameters: TV frames per pixel of scroll.
-
- 'SPD 1' causes sMOVIE to scroll the screen 1 pixel for each
- refresh of the screen. 'SPD 2' (Default) waits two frames
- between scrolls and so is twice as slow as 'SPD 1'. 'SPD 0'
- causes sMOVIE to go as fast as it can - which makes the
- scrolling a bit jumpy. You can specify almost any value for
- SPD, but beyond about 30 things get REALLY lethargic. Note
- that the user can overide any SPD settings by moving the
- mouse during playback.
-
- Command: SSZ Function: Smooth Resizing of screen.
- Parameters: Steps,Delay,Width,Height,X,Y,Q.
-
- This is the one that lets you create all the clever special
- effects. Steps is the number of views to be made as
- intermediates between the old and the new sizes. Delay
- works rather like SPD (i.e. small values for a fast resize).
- The other parameters are the final size of the screen as per
- the SIZ command above. If you're going to use this one, you
- should have at least one SIZ or DFT command somewhere in
- your file.
-
- Command: TAB Function: Specifies how TABS are handled.
- Parameters: Tab value.
-
- TAB defaults to 8, which makes it behave the same as Type
- etc. You can alter it to any value (e.g. it's set at 4 for
- this file). When using Non-Proportional fonts, TAB can have
- unexpected results.
-
- That's yer lot!
- ================================================================